.message() {
    font-size: @font-size-base;
    position: fixed;
    z-index: @zindex-message;
    width: 100%;
    top: 16px;
    left: 0;
    pointer-events: none;
}

.message-notice() {
    padding: 8px;
    text-align: center;
    animation: messageEffect .3s;
    transition: height .5s @ease-in-out, padding .5s @ease-in-out;
    overflow: visible;
}

.message-notice-closed() {
    opacity: 0;
    animation: closedEffect .3s;
}

.message-notice-content() {
    font-size: 14px;
    display: inline-block;
    pointer-events: all;
    padding: 8px 16px;
    //border: 1px solid @border-color-split;
    border-radius: @border-radius-base;
    box-shadow: @card-shadow;
    background: #fff;
    position: relative;
    text-align: left;
    max-width: 500px;
}

.message-icon() {
    font-size: 16px;
    vertical-align: baseline;
    margin-right: 5px;
}

.message-icon-color(@color) {
    color: @color;
}

.message-background-color(@color) {
    color: @color;
    border: 1px solid tint(@color, 70%);
    background-color: tint(@color, 90%);
}

.message-closed() {
    font-size: 14px;
    position: absolute;
    right: 8px;
    top: 9px;
    cursor: pointer;
    color: tint(@text-color, 30%);
    transition: color .2 ease-in-out;

    &:hover {
        color: @text-color
    }
}

@keyframes messageEffect {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes closedEffect {
    from {
        opacity: 1;
        top: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}